<nav class="navbar navbar-default" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a href="{{ path('sil18_vitrine_homepage') }}" class="navbar-brand"><span class="glyphicon glyphicon-home"></span></a>
    </div>

    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
            <li><a href="{{ path('sil18_vitrine_homepage') }}">Link</a></li>
            <li class="dropdown">
                <a href="{{ path('catalogue') }}" class="dropdown-toggle" data-toggle="dropdown">Catégories <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    {% for item in listeCategories %}
                    <li>
                        <a href="{{ path('articlesParCategorie', {'idCategorie' :  item.id }) }}">{{ item.getIntitule() }}</a>
                    </li>
                    {% endfor %}
                    <li class="divider"></li>
                    <li><a href="{{ path('catalogue') }}">Toutes les catégories</a></li>
                </ul>
            </li>          
        </ul>
        
        <form class="navbar-form navbar-left" role="search">
            <div class="form-group">
                <input type="text" class="form-control" placeholder="Search">
            </div>
            <button type="submit" class="btn btn-default">Rechercher</button>
        </form>
        
        <ul class="nav navbar-nav navbar-right">
            <li>
                <a href="{{ path('sil18_vitrine_moncompte') }}"><span class="glyphicon glyphicon-user"></span> Mon compte</a>
            </li>
            <li>                
                <a href="{{ path('contenuPanier') }}"><span class="glyphicon glyphicon-shopping-cart"></span> Mon panier</a>
            </li>
            <li>                
                <a href="{{ path('sil18_vitrine_administration') }}"><span class="glyphicon glyphicon-wrench"></span> Administration</a>
            </li>
        </ul>
    </div>
</nav>